package com.lanou3g.ptp.sso.mapper;

import com.lanou3g.ptp.entity.Admin;
import com.lanou3g.ptp.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SsoMapper {
    User userByName(@Param("name") String name, @Param("password") String password);

    Admin findAdminByUnameAndPwd(@Param("username") String username, @Param("password") String pwd);

    int changePass(@Param("name")String tel,@Param("newPass") String newPass);
}
